-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for .NET Core 3.0 #182
Support for .NET Core 3.0 #182
Conversation
Codecov Report
@@ Coverage Diff @@
## master #182 +/- ##
==========================================
+ Coverage 94.94% 95.83% +0.88%
==========================================
Files 19 19
Lines 455 456 +1
==========================================
+ Hits 432 437 +5
+ Misses 23 19 -4
Continue to review full report at Codecov.
|
Some 2.2 vs 3.0 benchmarks, which basically show a modest improvement for UDP of ~4% but a ~14% improvement for IP. .NET Core 2.2BenchmarkDotNet=v0.11.5, OS=Windows 10.0.18362
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.0.100-preview8-013656
[Host] : .NET Core 2.2.6 (CoreCLR 4.6.27817.03, CoreFX 4.6.27818.02), 64bit RyuJIT
DefaultJob : .NET Core 2.2.6 (CoreCLR 4.6.27817.03, CoreFX 4.6.27818.02), 64bit RyuJIT
.NET Core 3.0 preview 8BenchmarkDotNet=v0.11.5, OS=Windows 10.0.18362
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=3.0.100-preview8-013656
[Host] : .NET Core 3.0.0-preview8-28405-07 (CoreCLR 4.700.19.37902, CoreFX 4.700.19.40503), 64bit RyuJIT
DefaultJob : .NET Core 3.0.0-preview8-28405-07 (CoreCLR 4.700.19.37902, CoreFX 4.700.19.40503), 64bit RyuJIT
|
Ignore coverage.* files.
Bump version to 4.1.0 for change to target frameworks.
Use preview 8 of the .NET Core 3.0 SDK. Swap net451 for net461. Use Microsoft.NETFramework.ReferenceAssemblies to build on non-Windows platforms. Remove redundant MSBuildAllProjects properties.
Revert back to a minimum version of System.Memory for net461 and netstandard2.0.
Make .NET Standard 2.0 and .NET 4.6.1 the exception, rather than the default. Disable code analysis warning.
Use C# 8 features as suggested by Visual Studio, where approriate.
Fix warnings about disposable resources in the benchmarks.
Fix compilation of the benchmarks project on non-Windows platforms.
Drop TFM for StatsD benchmarks with .NET Core 2.0 as I don't think they're compiling properly on non-Windows platforms.
Fix the expression to ignore the benchmarks.
Enable nullable reference types. Fix violations and add annotations.
Fix misreported nullable annotations.
Use Visual Studio 2019 in AppVeyor CI.
Update to preview 9 of .NET Core 3.0.
Use PackageIcon instead of PackageIconUrl as described by https://github.com/NuGet/Home/wiki/Packaging-Icon-within-the-nupkg.
Update to release candidate 1 of .NET Core 3.0.
Update to the final release of the .NET Core 3.0 SDK. Use stable release of NuGet packages. Use stable release of C#.
This PR switches to building with the .NET Core 3.0 SDK for the following benefits and changes:
Microsoft.NETFramework.ReferenceAssemblies
to build on non-Windows platforms to remove the need for custom targets. This requires changing the minimum TFM tonet461
.netstandard2.1
TFM.MSBuildAllProjects
MSBuild properties.